<?php
// +----------------------------------------------------------------------
// | Description: 基础框架路由配置文件
// +----------------------------------------------------------------------
// | Author: linchuangbin <linchuangbin@honghaiweb.com>
// +----------------------------------------------------------------------

return [
    // 定义资源路由
    '__rest__'=>[
        'admin/rules'		        =>'admin/rules',
        'admin/groups'		        =>'admin/groups',
        'admin/users'		        =>'admin/users',
        'admin/menus'		        =>'admin/menus',
        'admin/structures'	        =>'admin/structures',
        'admin/posts'               =>'admin/posts',
        'admin/dictionary'          =>'admin/dictionary',
        'admin/bidding'             =>'admin/bidding',
        'admin/suppliersRole'       =>'admin/suppliersRole',//供應商用戶組
        'admin/disSuppliers'        =>'admin/disSuppliers',//待審批供應商
        'admin/suppliers'           =>'admin/suppliers',//供應商
        'admin/purchasing'          =>'admin/purchasing',//采购商
        //會員繳費管理
        'admin/orderManager'        =>'admin/orderManager',
        'admin/serviceTime'         =>'admin/serviceTime',
        'admin/invoice'             =>'admin/invoice',
        //基礎信息管理
        'admin/purchasingCategory'  =>'admin/purchasingCategory',
        'admin/votingInformation'   =>'admin/votingInformation',
        'admin/reference'           =>'admin/reference',
        'admin/attentions'          =>'admin/attentions',
        'admin/singlePage'          =>'admin/singlePage',
        'admin/articles'            =>'admin/articles',
        /////////////////////////////////////////////////
        ///////////////////通用///////////////////////
        /////////////////////////////////////////////////
        'admin/demand'              =>'admin/demand',//获取标的需求
        'admin/bidMember'           =>'admin/bidMember',//获取项目组成员
        'admin/bidFile'             =>'admin/bidFile',//标书文件
        /////////////////////////////////////////////////
        ///////////////////采购商///////////////////////
        /////////////////////////////////////////////////
        'admin/purchasing/Manager'  =>'admin/purchasing.manager',
        'admin/purchasing/post'  =>'admin/purchasing.post',
    ],

	// 【基础】登录
	'admin/base/login' => ['admin/base/login', ['method' => 'POST']],
	// 【基础】记住登录
	'admin/base/relogin'	=> ['admin/base/relogin', ['method' => 'POST']],
	// 【基础】修改密码
	'admin/base/setInfo' => ['admin/base/setInfo', ['method' => 'POST']],
	// 【基础】退出登录
	'admin/base/logout' => ['admin/base/logout', ['method' => 'POST']],
	// 【基础】获取配置
	'admin/base/getConfigs' => ['admin/base/getConfigs', ['method' => 'POST']],
	// 【基础】获取验证码
	'admin/base/getVerify' => ['admin/base/getVerify', ['method' => 'GET']],
	// 【基础】上传图片
	'admin/upload' => ['admin/upload/index', ['method' => 'POST']],
	// 保存系统配置
	'admin/systemConfigs' => ['admin/systemConfigs/save', ['method' => 'POST']],
	// 【规则】批量删除
	'admin/rules/deletes' => ['admin/rules/deletes', ['method' => 'POST']],
	// 【规则】批量启用/禁用
	'admin/rules/enables' => ['admin/rules/enables', ['method' => 'POST']],
	// 【用户组】批量删除
	'admin/groups/deletes' => ['admin/groups/deletes', ['method' => 'POST']],
	// 【用户组】批量启用/禁用
	'admin/groups/enables' => ['admin/groups/enables', ['method' => 'POST']],

    // 【供應商角色】批量删除
    'admin/suppliersRole/deletes' => ['admin/suppliersRole/deletes', ['method' => 'POST']],
    // 【供應商角色】批量启用/禁用
    'admin/suppliersRole/enables' => ['admin/suppliersRole/enables', ['method' => 'POST']],

	// 【用户】批量删除
	'admin/users/deletes' => ['admin/users/deletes', ['method' => 'POST']],
	// 【用户】批量启用/禁用
	'admin/users/enables' => ['admin/users/enables', ['method' => 'POST']],
    // 【供应商待审批】批量删除
    'admin/disSuppliers/deletes' => ['admin/disSuppliers/deletes', ['method' => 'POST']],
    // 【供应商待审批】批量启用/禁用
    'admin/disSuppliers/enables' => ['admin/disSuppliers/enables', ['method' => 'POST']],
    // 【供应商】批量删除
    'admin/Suppliers/deletes' => ['admin/Suppliers/deletes', ['method' => 'POST']],
    // 【供应商】批量启用/禁用
    'admin/Suppliers/enables' => ['admin/Suppliers/enables', ['method' => 'POST']],

	// 【菜单】批量删除
	'admin/menus/deletes' => ['admin/menus/deletes', ['method' => 'POST']],
	// 【菜单】批量启用/禁用
	'admin/menus/enables' => ['admin/menus/enables', ['method' => 'POST']],
	// 【组织架构】批量删除
	'admin/structures/deletes' => ['admin/structures/deletes', ['method' => 'POST']],
	// 【组织架构】批量启用/禁用
	'admin/structures/enables' => ['admin/structures/enables', ['method' => 'POST']],
	// 【部门】批量删除
	'admin/posts/deletes' => ['admin/posts/deletes', ['method' => 'POST']],
	// 【部门】批量启用/禁用
	'admin/posts/enables' => ['admin/posts/enables', ['method' => 'POST']],
	// 【部门】获取id
	'admin/posts/get' => ['admin/posts/get', ['method' => 'POST']],

    // 【采購類別】批量删除
    'admin/purchasingCategory/deletes' => ['admin/purchasingCategory/deletes', ['method' => 'POST']],
    // 【采購類別】批量启用/禁用
    'admin/purchasingCategory/enables' => ['admin/purchasingCategory/enables', ['method' => 'POST']],
    // 【投標須知模板】批量删除
    'admin/voting/deletes' => ['admin/votingInformation/deletes', ['method' => 'POST']],
    // 【投標須知模板】批量启用/禁用
    'admin/voting/enables' => ['admin/votingInformation/enables', ['method' => 'POST']],
    // 【參考項】批量删除
    'admin/reference/deletes' => ['admin/reference/deletes', ['method' => 'POST']],
    // 【參考項】批量启用/禁用
    'admin/reference/enables' => ['admin/reference/enables', ['method' => 'POST']],
    // 【注意事項】批量删除
    'admin/attentions/deletes' => ['admin/attentions/deletes', ['method' => 'POST']],
    // 【注意事項】批量启用/禁用
    'admin/singlePage/enables' => ['admin/singlePage/enables', ['method' => 'POST']],
    // 【單頁信息】批量删除
    'admin/singlePage/deletes' => ['admin/singlePage/deletes', ['method' => 'POST']],
    // 【單頁信息】批量启用/禁用
    'admin/singlePage/enables' => ['admin/singlePage/enables', ['method' => 'POST']],
    // 【内容信息】批量删除
    'admin/articles/deletes' => ['admin/articles/deletes', ['method' => 'POST']],
    // 【内容信息】批量启用/禁用
    'admin/articles/enables' => ['admin/articles/enables', ['method' => 'POST']],
    //【字典类】城市字典获取
    'admin/dictionary/region'=> ['admin/dictionary/region', ['method' => 'GET']],
    //【字典类】付款方式字典获取
    'admin/dictionary/reference'=> ['admin/dictionary/reference', ['method' => 'GET']],
    //【字典类】成交方式字典获取
    'admin/dictionary/transaction'=> ['admin/dictionary/transaction', ['method' => 'GET']],
    //【字典类】成交方式字典获取
    'admin/dictionary/delivery'=> ['admin/dictionary/delivery', ['method' => 'GET']],
    //【项目需求】批量添加
    'admin/demand/upload' => ['admin/demand/upload', ['method' => 'POST']],
    // 【项目需求】批量删除
    'admin/demand/deletes' => ['admin/demand/deletes', ['method' => 'POST']],
    // 【项目需求】扩展填报信息获取
    'admin/demand/ext' => ['admin/demand/ext', ['method' => 'GET']],
    // 【项目需求】扩展填报信息更新
    'admin/demand/updateExt' => ['admin/demand/updateExt', ['method' => 'POST']],
    // 【项目需求】扩展填报信息更新
    'admin/purchasing/post/getBidTime' => ['admin/purchasing.post/getBidTime', ['method' => 'GET']],
    // 【项目成员】批量删除
    'admin/bidMember/deletes' => ['admin/bidMember/deletes', ['method' => 'POST']],
    // 【标资格要求】更新
    'admin/purchasing/post/updateRequirements' => ['admin/purchasing.post/updateRequirements', ['method' => 'POST']],
    //【标书】批量删除
    'admin/bidFile/deletes' => ['admin/bidFile/deletes', ['method' => 'POST']],
     //【标书】获取定义
    'admin/bidFile/getDefine' => ['admin/bidFile/getDefine', ['method' => 'GET']],
    //【标书】保存定义
    'admin/bidFile/saveDefine' => ['admin/bidFile/saveDefine', ['method' => 'POST']],
    //【标书】保存定义
    'admin/bidFile/deletesDefine' => ['admin/bidFile/deletesDefine', ['method' => 'POST']],

    // MISS路由
	'__miss__'  => 'admin/base/miss',
];